home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / pbClock / AppCfrg.r < prev    next >
Encoding:
Text File  |  1994-04-29  |  830 b   |  32 lines  |  [TEXT/MPS ]

  1. /*------------------------------------------------------------------------------
  2. #
  3. #    Apple Macintosh Developer Technical Support
  4. #
  5. ------------------------------------------------------------------------------*/
  6.  
  7. /*
  8.  *    This is a klugy way of ensuring our 'cfrg' resource for PowerPC is correct.
  9.  *    If this is a 68K only build, then we must remove the 'cfrg' resource.
  10.  *    So a 68K link ALWAYS removes it.  If we are doing a PowerPC build,
  11.  *    then this file gets called a second time to put it back in.
  12.  */
  13. #ifdef powerc
  14. /* here is the quintessential PowerPC friendliness device, the cfrg resource */
  15.  
  16. #include "CodeFragmentTypes.r"
  17.  
  18. resource 'cfrg' (0) {
  19.    {
  20.       kPowerPC,
  21.       kFullLib,
  22.       kNoVersionNum,kNoVersionNum,
  23.       0,0,
  24.       kIsApp,kOnDiskFlat,kZeroOffset,kWholeFork,
  25.       "AppWannabe"
  26.    }
  27. };
  28.  
  29. #else
  30. delete 'cfrg';
  31. #endif
  32.